{include file="header.tpl.html"}
{include file="login.tpl.html"}
{include file="socios.menuadmin.tpl.html"}

{if $modulo eq "error"}
	{include file="error.tpl.html"}	
{else}
	{if $action eq "peticionAlta"}
		{include file="socios.peticionAlta.tpl.html"}
	{elseif $action eq "login"}
		
	{elseif $action eq "gestionSocios"}
		{include file="socios.gestionSocios.tpl.html"}
	{elseif $action eq "gestionStock"}
		{include file="socios.gestionStock.tpl.html"}
	{elseif $action eq "gestionNoticias"}
		{include file="socios.gestionNoticias.tpl.html"}
	{elseif $action eq "addNoticias"}
		{include file="socios.addNoticias.tpl.html"}
	{elseif $action eq "modificarNoticias"}
		{include file="socios.modificarNoticias.tpl.html"}
	{elseif $action eq "eliminarNoticias"}
		{include file="socios.eliminarNoticias.tpl.html"}
	{elseif $action eq "addSocios"}
		{include file="socios.addSocios.tpl.html"}
	{elseif $action eq "modificarSocios"}
		{include file="socios.modificarSocios.tpl.html"}
	{elseif $action eq "eliminarSocios"}
		{include file="socios.eliminarSocios.tpl.html"}
	{elseif $action eq "gestionMesas"}
		{include file="socios.gestionMesas.tpl.html"}
	{elseif $action eq "ticketComida"}
		{include file="socios.ticketComida.tpl.html"}
	{elseif $action eq "cerrarTicket"}
		{include file="socios.cerrarTicket.tpl.html"}
	{elseif $action eq "addStock"}
		{include file="socios.addStock.tpl.html"}
	{elseif $action eq "modificarStock"}
		{include file="socios.modificarStock.tpl.html"}
	{elseif $action eq "eliminarStock"}
		{include file="socios.eliminarStock.tpl.html"}
	{elseif $action eq "addMesas"}
		{include file="socios.addMesas.tpl.html"}
	{elseif $action eq "modificarMesas"}
		{include file="socios.modificarMesas.tpl.html"}
	{elseif $action eq "eliminarMesas"}
		{include file="socios.eliminarMesas.tpl.html"}
	{elseif $action eq "datosPersonales"}
	{	include file="socios.datosPersonales.tpl.html"}
	{elseif $action eq "reservaMesas"}
		{include file="socios.reservaMesas.tpl.html"}
	{elseif $action eq "cenaMensual"}
		{include file="socios.cenaMensual.tpl.html"}
	{elseif $action eq "gestionCuentas"}
		{include file="socios.gestionCuentas.tpl.html"}
	{elseif $action eq "ingresoGasto"}
		{include file="socios.ingresoGasto.tpl.html"}
	{else}
		{include file="socios.inicio.tpl.html"}	
	{/if}
{/if}